<template>
  <div class="container-fluid">
    <div class="row vh-100">
      <div class="col-3 col-xxl-2 px-0 d-flex flex-column">
        <div class="fs-4 text-light bg d-flex justify-content-center align-items-center" style="height: 64px">toimc通用业务框架</div>
        <SidebarNav :menus="store.menus"/>
      </div>
      <div class="col-9">
        <div class="row">
          <div class="container-fluid">
            <!-- header -->
            <HeaderNav/>
            <router-view></router-view>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
import SidebarNav from "@/components/SidebarNav.vue";
import HeaderNav from "@/components/HeaderNav.vue"
import { useMenusStore } from "@/store/menu.js"

const store = useMenusStore()
console.log({ menus: store.menus })
</script>

<style scoped>
</style>